home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1996 July / Macworld (1996-07).dmg / Shareware World / HTML / HTML Voc 1.0 / HTML Vocabulary 1.0 / HTML Vocabulary 1.0.rsrc / TEXT_1700_Tables.txt < prev    next >
Encoding:
Text File  |  1996-04-17  |  1.4 KB  |  48 lines

  1.  
  2.  Tables    
  3.  
  4.  <TABLE [BORDER=n] [CELLSPACING=n] [CELLPADDING=n]
  5.  [WIDTH=n|n%]>
  6.  Start tag of a table. Must end with the </TABLE> tag.
  7.  Following parameters are allowed:
  8.  
  9.  BORDER=n
  10.  Gives the table a 3D-look. n is the width of the border
  11.  in dots.
  12.  
  13.  CELLSPACING=n
  14.  Sets the space between cells in dots.
  15.  
  16.  CELLPADDING=n
  17.  Sets the space between the contains of the cells to the
  18.  cells border.
  19.  
  20.  WIDTH=n|n%
  21.  Sets the width of the table in dots or in percent of the
  22.  page.
  23.  
  24.  Table tags    
  25.  
  26.  <CAPTION [ALIGN=TOP|BOTTOM]>
  27.  Start tag for the tables header. Use this tag inside the
  28.  <TABLE> tag, but not within lines. You can show the
  29.  header over or under the TABLE by setting ALIGN to TOP
  30.  resp. BOTTOM.
  31.  
  32.  <TR [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM|
  33.  BASELINE]>
  34.  Start a new line in the table. ALIGN sets the horizontal
  35.  adjusments for the lines text and VALIGN the vertical
  36.  adjustment.
  37.  
  38.  <TD|TH [ALIGN=LEFT|CENTER|RIGHT] [VALIGN=TOP|MIDDLE|BOTTOM
  39.  |BASELINE] [NOWRAP] [COLSPAN=N] [ROWSPAN=N] [WIDTH=N]>
  40.  TD and TH insert a new cell. TH stands for 'table header'
  41.  and shows up the textcontent of the cell in bold. ALIGN
  42.  sets the adjusments of the text. NOWRAP prevent the
  43.  browser from wrapping the cells contents. COLSPAN can be
  44.  used to let the cell go over more than one column. Normal
  45.  is 1. BROWSPAN is the same thing, but let the cell go over
  46.  more than one line. Normal settings is 1. WIDTH sets the
  47.  width of the cell.
  48.